/**
 * Created by Administrator on 2017/7/10 0010.
 */
var log4js = require('log4js');
log4js.loadAppender('baev3-log');
var options = {
    'user': 'ed68618ba92148cda68cac2bc5ff06aa',
    'passwd': '23ff4fcf47d94c84bf8d252f3787a91a'
}
log4js.addAppender(log4js.appenders['baev3-log'](options));
var logger = log4js.getLogger('node-log-sdk');
logger.setLevel('TRACE');
logger.trace('baev3-log trace log');
logger.debug('baev3-log Debug log');
logger.info('baev3-log Info log');
logger.warn('baev3-log Warn log');
logger.error('baev3-log Error log');
logger.fatal('baev3-log Fatal log');

module.exports = logger;